<div class="widgets">
    <div ba-panel ba-panel-title="注册用户管理" ba-panel-class="with-scroll">
        <form class="row form-inline ng-pristine ng-valid ng-scope">
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">用户名:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input type="text" class="form-control" id="inputEmail3" placeholder="请输入用户名" ng-model="search_opt.username">
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">手机号:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <ng-form name=someForm>
                        <input type="tel" name="username" class="form-control" pattern="^\d{0,11}$" id="inputEmail4" placeholder="请输入手机号" ng-model="search_opt.mobile">
                        <div class="alert alert-danger ng-form-div" ng-show="someForm.username.$error.pattern">
                            请输入正确的手机号
                        </div>
                    </ng-form>
                    <!--<input type="tel" class="form-control" id="inputEmail4" placeholder="请输入手机号" ng-model="search_opt.mobile">-->
                </div>
            </div>
            <!-- 日期-->
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">出生日期：</h5>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat1" class="form-control border-r5 width-100">
                </div>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat2" class="form-control border-r5 width-100">
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">注册日期：</h5>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat3" class="form-control border-r5 width-100">
                </div>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat4" class="form-control border-r5 width-100">
                </div>
            </div>
            <!-- 搜索-->
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">所持设备:</h5>
                <div class="col-sm-4" style=" margin-left: -37px;   margin-top: 10px;">
                    <div style=" margin: 0;margin-top: 5px;padding: 0;" class="col-sm-5"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadio" id="inlin1" value="全部" ng-checked="search_opt.modality=='all'" ng-click="search_opt.modality='all'"> <span>全部</span></label></div>
                    <div style=" margin: 0;margin-top: 5px;padding: 0;" class="col-sm-5"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadio" id="inlin2" value="金鼻光" ng-checked="search_opt.modality=='金鼻光'" ng-click="search_opt.modality='金鼻光'"> <span>金鼻光</span></label></div>
                    <div style=" margin: 0;margin-top: 5px;padding: 0; position: absolute;right: -30px;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadio" id="inlin3" value="焕颜宝" ng-checked="search_opt.modality=='焕颜宝'" ng-click="search_opt.modality='焕颜宝'"> <span>焕颜宝</span></label></div>
                </div>
                <h5 style="line-height: 30px;padding: 0px;    margin-left: 40px;" class="col-sm-1 col-xs-4">性别:</h5>
                <div class="form-group  col-sm-3 col-xs-5" style="top: 10px;margin: 0;padding: 0;">
                    <div style=" margin: 0;margin-top: 5px;padding: 0;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="不限" ng-checked="search_opt.sex=='all'" ng-click="search_opt.sex=all"><span>不限</span></label></div>
                    <div style=" margin: 0;margin-top: 5px;padding: 0;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="男" ng-checked="search_opt.sex=='0'" ng-click="search_opt.sex=0"><span>男</span></label></div>
                    <div style=" margin: 0;margin-top: 5px;padding: 0;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="女" ng-checked="search_opt.sex=='1'" ng-click="search_opt.sex=1" ><span>女</span></label></div>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">地区:</h5>
                <div class="form-group  col-sm-6 col-xs-5" ng-controller="AddCtrl">
                    <div class="col-sm-4" style="padding: 2px;">
                        <select style="padding: 2px;" class="form-control" id="add1" ng-model="selectedProvince" ng-options="item[0] as item[1] for item in regionData1">  
                        <option value="" id="add_id1">省</option>  
  	                </select>
                    </div>
                    <div class="col-sm-4" style="padding: 2px;">
                        <select style="padding: 2px;" class="form-control" id="add2" ng-model="selectedCity" ng-options="item[0] as item[1] for item in regionData2">  
                        <option value="" id="add_id2">市</option>  
                    </select>
                    </div>

                    <div class="col-sm-4" style="padding: 2px;">
                        <select style="padding: 2px;" class="form-control" id="add3" ng-model="selectedDstrict" ng-options="item[0] as item[1] for item in regionData3">  
                        <option value="" id="add_id3">区</option>  
                    </select>
                    </div>
                </div>
                <div class="col-sm-2  text-right">
                    <button type="submit " class="btn btn-primary " ng-click="Search()">搜索</button>
                </div>
            </div>
        </form>
        <!-- 列表 -->
        <div class="col-sm-12">
            <table class="table table-bordered">
                <thead>
                    <tr valign="middle">
                        <th class="browser-icons"></th>
                        <th style="line-height: 35px;" class=" text-center">用户头像</th>
                        <th style="line-height: 35px;" class=" text-center">用户名</th>
                        <th style=" width: 150px;" class=" text-center">手机号</th>
                        <th style=" width: 150px;" class=" text-center ">持有设备</th>
                        <th style=" width: 35px;" class=" text-center ">位置</th>
                        <th class=" text-center">上次理疗时间／</br>模式</th>
                        <th class=" text-center">上次理疗状态／</br>剩余时间</th>
                        <th style="line-height: 35px;" class=" text-center">红包余额</th>
                        <th style="line-height: 35px;" class=" text-center">健康豆记录</th>
                        <th class=" text-center">理疗时间累计</br>（分钟）</th>
                        <th style=" width: 50px; line-height: 35px;" class=" text-center">分享次数</th>
                        <th style=" width: 50px; line-height: 35px;" class=" text-center">累积签到</th>
                    </tr>
                </thead>
                <tbody>
                    <tr style="line-height:70px " ng-repeat="iist in Search_list_data">
                        <td class=" text-center ">{{iist.num}}</td>
                        <td style="; width: 50px;" class=" text-center photo-td">
                            <img ng-src="{{iist.headimgurl}}" style="height: 30px;width: 30px;margin-top: 5px;">
                        </td>
                        <td style=" padding-top: 10px; " class=" text-center iscursor" ng-click="tongzhi(iist.mobile,'app/pages/UserlistM/user/userInfo/userInfo.html')">{{iist.username}}</td>
                        <td style=" padding-top: 10px;" class="text-center">{{iist.mobile}}</td>
                        <td style=" padding-top: 10px; " class=" text-center iscursor" ng-click="tongzhi(iist,'app/pages/UserlistM/user/DeviceList/DeviceList.html')">{{iist.modality[0].name}} &nbsp;&nbsp;{{iist.modality[1].name}}</td>
                        <td style=" padding-top: 10px; " class=" text-center">
                        <span ng-if="iist.point"class=" iscursor" ng-click="point(iist.point)" style="     margin-left: 0px; ">查看</span>
                        <span ng-if="!iist.point">暂无</span>
                        </td>
                        <td style=" padding-top: 10px; width: 150px;" class=" text-center ">{{iist.LastTime.lasttime|date:'yyyy/MM/dd'}}{{iist.LastTime.name}}</td>
                        <td style=" padding-top: 10px;" class=" text-center ">
                            {{iist.LastTime.laststate|laststate}}</td>
                        <td style=" padding-top: 10px;" class=" text-center iscursor" ng-click="tongzhi(iist.id,'app/pages/UserlistM/user/balance/balance.html')">{{iist.bonusbalance/100}}￥</td>
                        <td style=" padding-top: 10px;" class=" text-center iscursor" ng-click="tongzhi(iist.id,'app/pages/UserlistM/user/LntegralRecord/LntegralRecord.html')">{{iist.integrate}}</td>
                        <!--   理疗记录 -->
                        <td style=" padding-top: 10px;" class=" text-center iscursor" ng-click="myopen('app/pages/UserlistM/user/PhysicalRecord/PhysicalRecord.html','lg',iist.id)">{{iist.cumutativetime |text_s:s}}</td>
                        <td style=" padding-top: 10px;" class=" text-center iscursor" ng-click="tongzhi(iist.id,'app/pages/UserlistM/user/SharingTimes/SharingTimes.html')">{{iist.share}}</td>
                        <td style=" padding-top: 10px;" class=" text-center iscursor" ng-click="tongzhi(iist.id,'app/pages/UserlistM/user/SignNum/SignNum.html')">{{iist.signed}}</td>
                    </tr>
                </tbody>
            </table>
            <div class="text-center row" style="padding: 20px; ">
                <div class="col-sm-6 text-right">
                    <ul style=" margin: 0; " uib-pagination total-items="bigTotalItems " previous-text="上一页 " next-text="下一页 " first-text="首页 " last-text="尾页 " ng-model="search_opt.page " ng-change="pageChanged(search_opt.page) " max-size="maxSize " class="pagination-sm
                " boundary-links="true " num-pages="numPages " items-per-page="search_opt.limit"></ul>
                </div>

                <div class="col-sm-6 text-left"><label>
                         <select style="height: 30px;font-weight: 300;" class="form-control"  selectpicker ng-model="search_opt.limit"  ng-change="Search()"  ng-options="i for i in [5,10,20,50,100]">
                        </select>
                    </label> /条（每页）</div>
            </div>
        </div>
    </div>
</div>